package com.qianniu.napi.admin.entity;

import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author chenxuebin
 * @since 2019-11-17
 */
@TableName("t_coupontpl_ext")
public class CoupontplExt extends Model<CoupontplExt> {

    private static final long serialVersionUID = 1L;

	@TableId(value="id", type= IdType.AUTO)
	private Long id;
	private Long mid;
	private Long mpid;
	private Long sid;
	private Integer daijin;
	private Integer manjian;
	private Integer zhekou;
	private Integer jiaxi;
    /**
     * 次卡
     */
	private Integer times;
    /**
     * 周卡
     */
	private Integer week;
    /**
     * 月卡
     */
	private Integer month;
    /**
     * 季节
     */
	private Integer season;
    /**
     * 半年卡
     */
	private Integer halfyear;
    /**
     * 年卡
     */
	private Integer year;
    /**
     * 终生卡
     */
	private Integer unlimit;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getMid() {
		return mid;
	}

	public void setMid(Long mid) {
		this.mid = mid;
	}

	public Long getMpid() {
		return mpid;
	}

	public void setMpid(Long mpid) {
		this.mpid = mpid;
	}

	public Long getSid() {
		return sid;
	}

	public void setSid(Long sid) {
		this.sid = sid;
	}

	public Integer getDaijin() {
		return daijin;
	}

	public void setDaijin(Integer daijin) {
		this.daijin = daijin;
	}

	public Integer getManjian() {
		return manjian;
	}

	public void setManjian(Integer manjian) {
		this.manjian = manjian;
	}

	public Integer getZhekou() {
		return zhekou;
	}

	public void setZhekou(Integer zhekou) {
		this.zhekou = zhekou;
	}

	public Integer getJiaxi() {
		return jiaxi;
	}

	public void setJiaxi(Integer jiaxi) {
		this.jiaxi = jiaxi;
	}

	public Integer getTimes() {
		return times;
	}

	public void setTimes(Integer times) {
		this.times = times;
	}

	public Integer getWeek() {
		return week;
	}

	public void setWeek(Integer week) {
		this.week = week;
	}

	public Integer getMonth() {
		return month;
	}

	public void setMonth(Integer month) {
		this.month = month;
	}

	public Integer getSeason() {
		return season;
	}

	public void setSeason(Integer season) {
		this.season = season;
	}

	public Integer getHalfyear() {
		return halfyear;
	}

	public void setHalfyear(Integer halfyear) {
		this.halfyear = halfyear;
	}

	public Integer getYear() {
		return year;
	}

	public void setYear(Integer year) {
		this.year = year;
	}

	public Integer getUnlimit() {
		return unlimit;
	}

	public void setUnlimit(Integer unlimit) {
		this.unlimit = unlimit;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "CoupontplExt{" +
			"id=" + id +
			", mid=" + mid +
			", mpid=" + mpid +
			", sid=" + sid +
			", daijin=" + daijin +
			", manjian=" + manjian +
			", zhekou=" + zhekou +
			", jiaxi=" + jiaxi +
			", times=" + times +
			", week=" + week +
			", month=" + month +
			", season=" + season +
			", halfyear=" + halfyear +
			", year=" + year +
			", unlimit=" + unlimit +
			"}";
	}
}
